package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FFutSettleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FFutSettleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNull() {
            addCriterion("ts_code is null");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNotNull() {
            addCriterion("ts_code is not null");
            return (Criteria) this;
        }

        public Criteria andTsCodeEqualTo(String value) {
            addCriterion("ts_code =", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotEqualTo(String value) {
            addCriterion("ts_code <>", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThan(String value) {
            addCriterion("ts_code >", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ts_code >=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThan(String value) {
            addCriterion("ts_code <", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThanOrEqualTo(String value) {
            addCriterion("ts_code <=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLike(String value) {
            addCriterion("ts_code like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotLike(String value) {
            addCriterion("ts_code not like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeIn(List<String> values) {
            addCriterion("ts_code in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotIn(List<String> values) {
            addCriterion("ts_code not in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeBetween(String value1, String value2) {
            addCriterion("ts_code between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotBetween(String value1, String value2) {
            addCriterion("ts_code not between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTradeDateIsNull() {
            addCriterion("trade_date is null");
            return (Criteria) this;
        }

        public Criteria andTradeDateIsNotNull() {
            addCriterion("trade_date is not null");
            return (Criteria) this;
        }

        public Criteria andTradeDateEqualTo(String value) {
            addCriterion("trade_date =", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotEqualTo(String value) {
            addCriterion("trade_date <>", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateGreaterThan(String value) {
            addCriterion("trade_date >", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateGreaterThanOrEqualTo(String value) {
            addCriterion("trade_date >=", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLessThan(String value) {
            addCriterion("trade_date <", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLessThanOrEqualTo(String value) {
            addCriterion("trade_date <=", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLike(String value) {
            addCriterion("trade_date like", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotLike(String value) {
            addCriterion("trade_date not like", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateIn(List<String> values) {
            addCriterion("trade_date in", values, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotIn(List<String> values) {
            addCriterion("trade_date not in", values, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateBetween(String value1, String value2) {
            addCriterion("trade_date between", value1, value2, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotBetween(String value1, String value2) {
            addCriterion("trade_date not between", value1, value2, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andSettleIsNull() {
            addCriterion("settle is null");
            return (Criteria) this;
        }

        public Criteria andSettleIsNotNull() {
            addCriterion("settle is not null");
            return (Criteria) this;
        }

        public Criteria andSettleEqualTo(Float value) {
            addCriterion("settle =", value, "settle");
            return (Criteria) this;
        }

        public Criteria andSettleNotEqualTo(Float value) {
            addCriterion("settle <>", value, "settle");
            return (Criteria) this;
        }

        public Criteria andSettleGreaterThan(Float value) {
            addCriterion("settle >", value, "settle");
            return (Criteria) this;
        }

        public Criteria andSettleGreaterThanOrEqualTo(Float value) {
            addCriterion("settle >=", value, "settle");
            return (Criteria) this;
        }

        public Criteria andSettleLessThan(Float value) {
            addCriterion("settle <", value, "settle");
            return (Criteria) this;
        }

        public Criteria andSettleLessThanOrEqualTo(Float value) {
            addCriterion("settle <=", value, "settle");
            return (Criteria) this;
        }

        public Criteria andSettleIn(List<Float> values) {
            addCriterion("settle in", values, "settle");
            return (Criteria) this;
        }

        public Criteria andSettleNotIn(List<Float> values) {
            addCriterion("settle not in", values, "settle");
            return (Criteria) this;
        }

        public Criteria andSettleBetween(Float value1, Float value2) {
            addCriterion("settle between", value1, value2, "settle");
            return (Criteria) this;
        }

        public Criteria andSettleNotBetween(Float value1, Float value2) {
            addCriterion("settle not between", value1, value2, "settle");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateIsNull() {
            addCriterion("trading_fee_rate is null");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateIsNotNull() {
            addCriterion("trading_fee_rate is not null");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateEqualTo(Float value) {
            addCriterion("trading_fee_rate =", value, "tradingFeeRate");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateNotEqualTo(Float value) {
            addCriterion("trading_fee_rate <>", value, "tradingFeeRate");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateGreaterThan(Float value) {
            addCriterion("trading_fee_rate >", value, "tradingFeeRate");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateGreaterThanOrEqualTo(Float value) {
            addCriterion("trading_fee_rate >=", value, "tradingFeeRate");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateLessThan(Float value) {
            addCriterion("trading_fee_rate <", value, "tradingFeeRate");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateLessThanOrEqualTo(Float value) {
            addCriterion("trading_fee_rate <=", value, "tradingFeeRate");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateIn(List<Float> values) {
            addCriterion("trading_fee_rate in", values, "tradingFeeRate");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateNotIn(List<Float> values) {
            addCriterion("trading_fee_rate not in", values, "tradingFeeRate");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateBetween(Float value1, Float value2) {
            addCriterion("trading_fee_rate between", value1, value2, "tradingFeeRate");
            return (Criteria) this;
        }

        public Criteria andTradingFeeRateNotBetween(Float value1, Float value2) {
            addCriterion("trading_fee_rate not between", value1, value2, "tradingFeeRate");
            return (Criteria) this;
        }

        public Criteria andTradingFeeIsNull() {
            addCriterion("trading_fee is null");
            return (Criteria) this;
        }

        public Criteria andTradingFeeIsNotNull() {
            addCriterion("trading_fee is not null");
            return (Criteria) this;
        }

        public Criteria andTradingFeeEqualTo(Float value) {
            addCriterion("trading_fee =", value, "tradingFee");
            return (Criteria) this;
        }

        public Criteria andTradingFeeNotEqualTo(Float value) {
            addCriterion("trading_fee <>", value, "tradingFee");
            return (Criteria) this;
        }

        public Criteria andTradingFeeGreaterThan(Float value) {
            addCriterion("trading_fee >", value, "tradingFee");
            return (Criteria) this;
        }

        public Criteria andTradingFeeGreaterThanOrEqualTo(Float value) {
            addCriterion("trading_fee >=", value, "tradingFee");
            return (Criteria) this;
        }

        public Criteria andTradingFeeLessThan(Float value) {
            addCriterion("trading_fee <", value, "tradingFee");
            return (Criteria) this;
        }

        public Criteria andTradingFeeLessThanOrEqualTo(Float value) {
            addCriterion("trading_fee <=", value, "tradingFee");
            return (Criteria) this;
        }

        public Criteria andTradingFeeIn(List<Float> values) {
            addCriterion("trading_fee in", values, "tradingFee");
            return (Criteria) this;
        }

        public Criteria andTradingFeeNotIn(List<Float> values) {
            addCriterion("trading_fee not in", values, "tradingFee");
            return (Criteria) this;
        }

        public Criteria andTradingFeeBetween(Float value1, Float value2) {
            addCriterion("trading_fee between", value1, value2, "tradingFee");
            return (Criteria) this;
        }

        public Criteria andTradingFeeNotBetween(Float value1, Float value2) {
            addCriterion("trading_fee not between", value1, value2, "tradingFee");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeIsNull() {
            addCriterion("delivery_fee is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeIsNotNull() {
            addCriterion("delivery_fee is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeEqualTo(Float value) {
            addCriterion("delivery_fee =", value, "deliveryFee");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeNotEqualTo(Float value) {
            addCriterion("delivery_fee <>", value, "deliveryFee");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeGreaterThan(Float value) {
            addCriterion("delivery_fee >", value, "deliveryFee");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeGreaterThanOrEqualTo(Float value) {
            addCriterion("delivery_fee >=", value, "deliveryFee");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeLessThan(Float value) {
            addCriterion("delivery_fee <", value, "deliveryFee");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeLessThanOrEqualTo(Float value) {
            addCriterion("delivery_fee <=", value, "deliveryFee");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeIn(List<Float> values) {
            addCriterion("delivery_fee in", values, "deliveryFee");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeNotIn(List<Float> values) {
            addCriterion("delivery_fee not in", values, "deliveryFee");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeBetween(Float value1, Float value2) {
            addCriterion("delivery_fee between", value1, value2, "deliveryFee");
            return (Criteria) this;
        }

        public Criteria andDeliveryFeeNotBetween(Float value1, Float value2) {
            addCriterion("delivery_fee not between", value1, value2, "deliveryFee");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateIsNull() {
            addCriterion("b_hedging_margin_rate is null");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateIsNotNull() {
            addCriterion("b_hedging_margin_rate is not null");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateEqualTo(Float value) {
            addCriterion("b_hedging_margin_rate =", value, "bHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateNotEqualTo(Float value) {
            addCriterion("b_hedging_margin_rate <>", value, "bHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateGreaterThan(Float value) {
            addCriterion("b_hedging_margin_rate >", value, "bHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateGreaterThanOrEqualTo(Float value) {
            addCriterion("b_hedging_margin_rate >=", value, "bHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateLessThan(Float value) {
            addCriterion("b_hedging_margin_rate <", value, "bHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateLessThanOrEqualTo(Float value) {
            addCriterion("b_hedging_margin_rate <=", value, "bHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateIn(List<Float> values) {
            addCriterion("b_hedging_margin_rate in", values, "bHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateNotIn(List<Float> values) {
            addCriterion("b_hedging_margin_rate not in", values, "bHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateBetween(Float value1, Float value2) {
            addCriterion("b_hedging_margin_rate between", value1, value2, "bHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andBHedgingMarginRateNotBetween(Float value1, Float value2) {
            addCriterion("b_hedging_margin_rate not between", value1, value2, "bHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateIsNull() {
            addCriterion("s_hedging_margin_rate is null");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateIsNotNull() {
            addCriterion("s_hedging_margin_rate is not null");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateEqualTo(Float value) {
            addCriterion("s_hedging_margin_rate =", value, "sHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateNotEqualTo(Float value) {
            addCriterion("s_hedging_margin_rate <>", value, "sHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateGreaterThan(Float value) {
            addCriterion("s_hedging_margin_rate >", value, "sHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateGreaterThanOrEqualTo(Float value) {
            addCriterion("s_hedging_margin_rate >=", value, "sHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateLessThan(Float value) {
            addCriterion("s_hedging_margin_rate <", value, "sHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateLessThanOrEqualTo(Float value) {
            addCriterion("s_hedging_margin_rate <=", value, "sHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateIn(List<Float> values) {
            addCriterion("s_hedging_margin_rate in", values, "sHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateNotIn(List<Float> values) {
            addCriterion("s_hedging_margin_rate not in", values, "sHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateBetween(Float value1, Float value2) {
            addCriterion("s_hedging_margin_rate between", value1, value2, "sHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andSHedgingMarginRateNotBetween(Float value1, Float value2) {
            addCriterion("s_hedging_margin_rate not between", value1, value2, "sHedgingMarginRate");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateIsNull() {
            addCriterion("long_margin_rate is null");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateIsNotNull() {
            addCriterion("long_margin_rate is not null");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateEqualTo(Float value) {
            addCriterion("long_margin_rate =", value, "longMarginRate");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateNotEqualTo(Float value) {
            addCriterion("long_margin_rate <>", value, "longMarginRate");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateGreaterThan(Float value) {
            addCriterion("long_margin_rate >", value, "longMarginRate");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateGreaterThanOrEqualTo(Float value) {
            addCriterion("long_margin_rate >=", value, "longMarginRate");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateLessThan(Float value) {
            addCriterion("long_margin_rate <", value, "longMarginRate");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateLessThanOrEqualTo(Float value) {
            addCriterion("long_margin_rate <=", value, "longMarginRate");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateIn(List<Float> values) {
            addCriterion("long_margin_rate in", values, "longMarginRate");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateNotIn(List<Float> values) {
            addCriterion("long_margin_rate not in", values, "longMarginRate");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateBetween(Float value1, Float value2) {
            addCriterion("long_margin_rate between", value1, value2, "longMarginRate");
            return (Criteria) this;
        }

        public Criteria andLongMarginRateNotBetween(Float value1, Float value2) {
            addCriterion("long_margin_rate not between", value1, value2, "longMarginRate");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateIsNull() {
            addCriterion("short_margin_rate is null");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateIsNotNull() {
            addCriterion("short_margin_rate is not null");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateEqualTo(Float value) {
            addCriterion("short_margin_rate =", value, "shortMarginRate");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateNotEqualTo(Float value) {
            addCriterion("short_margin_rate <>", value, "shortMarginRate");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateGreaterThan(Float value) {
            addCriterion("short_margin_rate >", value, "shortMarginRate");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateGreaterThanOrEqualTo(Float value) {
            addCriterion("short_margin_rate >=", value, "shortMarginRate");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateLessThan(Float value) {
            addCriterion("short_margin_rate <", value, "shortMarginRate");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateLessThanOrEqualTo(Float value) {
            addCriterion("short_margin_rate <=", value, "shortMarginRate");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateIn(List<Float> values) {
            addCriterion("short_margin_rate in", values, "shortMarginRate");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateNotIn(List<Float> values) {
            addCriterion("short_margin_rate not in", values, "shortMarginRate");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateBetween(Float value1, Float value2) {
            addCriterion("short_margin_rate between", value1, value2, "shortMarginRate");
            return (Criteria) this;
        }

        public Criteria andShortMarginRateNotBetween(Float value1, Float value2) {
            addCriterion("short_margin_rate not between", value1, value2, "shortMarginRate");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeIsNull() {
            addCriterion("offset_today_fee is null");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeIsNotNull() {
            addCriterion("offset_today_fee is not null");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeEqualTo(Float value) {
            addCriterion("offset_today_fee =", value, "offsetTodayFee");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeNotEqualTo(Float value) {
            addCriterion("offset_today_fee <>", value, "offsetTodayFee");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeGreaterThan(Float value) {
            addCriterion("offset_today_fee >", value, "offsetTodayFee");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeGreaterThanOrEqualTo(Float value) {
            addCriterion("offset_today_fee >=", value, "offsetTodayFee");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeLessThan(Float value) {
            addCriterion("offset_today_fee <", value, "offsetTodayFee");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeLessThanOrEqualTo(Float value) {
            addCriterion("offset_today_fee <=", value, "offsetTodayFee");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeIn(List<Float> values) {
            addCriterion("offset_today_fee in", values, "offsetTodayFee");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeNotIn(List<Float> values) {
            addCriterion("offset_today_fee not in", values, "offsetTodayFee");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeBetween(Float value1, Float value2) {
            addCriterion("offset_today_fee between", value1, value2, "offsetTodayFee");
            return (Criteria) this;
        }

        public Criteria andOffsetTodayFeeNotBetween(Float value1, Float value2) {
            addCriterion("offset_today_fee not between", value1, value2, "offsetTodayFee");
            return (Criteria) this;
        }

        public Criteria andExchangeIsNull() {
            addCriterion("exchange is null");
            return (Criteria) this;
        }

        public Criteria andExchangeIsNotNull() {
            addCriterion("exchange is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeEqualTo(String value) {
            addCriterion("exchange =", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotEqualTo(String value) {
            addCriterion("exchange <>", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeGreaterThan(String value) {
            addCriterion("exchange >", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeGreaterThanOrEqualTo(String value) {
            addCriterion("exchange >=", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeLessThan(String value) {
            addCriterion("exchange <", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeLessThanOrEqualTo(String value) {
            addCriterion("exchange <=", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeLike(String value) {
            addCriterion("exchange like", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotLike(String value) {
            addCriterion("exchange not like", value, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeIn(List<String> values) {
            addCriterion("exchange in", values, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotIn(List<String> values) {
            addCriterion("exchange not in", values, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeBetween(String value1, String value2) {
            addCriterion("exchange between", value1, value2, "exchange");
            return (Criteria) this;
        }

        public Criteria andExchangeNotBetween(String value1, String value2) {
            addCriterion("exchange not between", value1, value2, "exchange");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}